<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@ taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@ taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<%--
  Created by IntelliJ IDEA.
  User: Волков Олег
  Date: 04.06.14
  Time: 11:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>


<html>
<body>
<f:view>
    <a4j:form>
        <rich:fileUpload doneLabel="Загружено" uploadControlLabel="#{uploadloc.load}"
                         clearControlLabel="Удалить"
                         fileUploadListener="#{upload.listener}">
        </rich:fileUpload>

    <h:panelGrid columns="2">
        <a4j:commandButton value="#{uploadloc.load}" action="#{upload.readExcel}"/>
        <a4j:commandButton value="#{uploadloc.back}" action="#{upload.goBack}"/>
    </h:panelGrid>
    </a4j:form>
</f:view>
</body>
</html>
